package com.niodata.dp.monitor.sharelib.entity.hbase;

import java.util.Date;

/**
 * Created by admin on 2018/3/15.
 */
public class HbaseState {

  private int id;
  private String hmaster;
  private int liveRegionServersNum;
  private int deadRegionServersNum;
  //处于可用状态的regionserver host汇总，例如"datanode-1,datanode-2"
  private String deadRegionServers;
  private Date createTime;

  public int getId() {
    return id;
  }

  public void setId(int id) {
    this.id = id;
  }

  public String getHmaster() {
    return hmaster;
  }

  public void setHmaster(String hmaster) {
    this.hmaster = hmaster;
  }

  public int getLiveRegionServersNum() {
    return liveRegionServersNum;
  }

  public void setLiveRegionServersNum(int liveRegionServersNum) {
    this.liveRegionServersNum = liveRegionServersNum;
  }

  public int getDeadRegionServersNum() {
    return deadRegionServersNum;
  }

  public void setDeadRegionServersNum(int deadRegionServersNum) {
    this.deadRegionServersNum = deadRegionServersNum;
  }

  public String getDeadRegionServers() {
    return deadRegionServers;
  }

  public void setDeadRegionServers(String deadRegionServers) {
    this.deadRegionServers = deadRegionServers;
  }

  public Date getCreateTime() {
    return createTime;
  }

  public void setCreateTime(Date createTime) {
    this.createTime = createTime;
  }
}
